package com.qk.common.exception;

import com.qk.common.Result;
import com.qk.common.enums.Code;

public class CastExceptions {
    public static void throwException(Code code) {
        throw new BaseException(code.getMsg());

    }
}
